package com.gm.wholesale.module.aftersale.bean;
import com.google.gson.annotations.SerializedName;

import java.io.Serializable;
import java.util.List;
public class AftersalesBean implements Serializable {
    @SerializedName("aftersaleId")
    private long aftersaleId;
    @SerializedName("aftersaleNo")
    private String aftersaleNo;
    @SerializedName("orderId")
    private long orderId;
    @SerializedName("orderNo")
    private String orderNo;
    @SerializedName("createTime")
    private String createTime;
    @SerializedName("refundAmount")
    private String refundAmount;
    @SerializedName("customerId")
    private long customerId;
    @SerializedName("customerName")
    private String customerName;
    @SerializedName("items")
    private List<ItemsBean> items;

    public long getAftersaleId() {
        return aftersaleId;
    }

    public void setAftersaleId(long aftersaleId) {
        this.aftersaleId = aftersaleId;
    }

    public String getAftersaleNo() {
        return aftersaleNo;
    }

    public void setAftersaleNo(String aftersaleNo) {
        this.aftersaleNo = aftersaleNo;
    }

    public long getOrderId() {
        return orderId;
    }

    public void setOrderId(long orderId) {
        this.orderId = orderId;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getRefundAmount() {
        return refundAmount;
    }

    public void setRefundAmount(String refundAmount) {
        this.refundAmount = refundAmount;
    }

    public long getCustomerId() {
        return customerId;
    }

    public void setCustomerId(long customerId) {
        this.customerId = customerId;
    }

    public String getCustomerName() {
        return customerName;
    }

    public void setCustomerName(String customerName) {
        this.customerName = customerName;
    }

    public List<ItemsBean> getItems() {
        return items;
    }

    public void setItems(List<ItemsBean> items) {
        this.items = items;
    }

    public static class ItemsBean {
        @SerializedName("skuName")
        private String skuName;
        @SerializedName("skuId")
        private long skuId;
        @SerializedName("unitName")
        private String unitName;
        @SerializedName("unitId")
        private long unitId;
        @SerializedName("quantity")
        private String quantity;
        @SerializedName("outgoingQuantity")
        private String outgoingQuantity;
        @SerializedName("unitPrice")
        private String unitPrice;
        @SerializedName("subtotal")
        private String subtotal;

        @SerializedName("orderlineId")
        private long orderLineId;

        public long getOrderLineId() {
            return orderLineId;
        }

        public void setOrderLineId(long orderLineId) {
            this.orderLineId = orderLineId;
        }

        public String getSkuName() {
            return skuName;
        }

        public void setSkuName(String skuName) {
            this.skuName = skuName;
        }

        public long getSkuId() {
            return skuId;
        }

        public void setSkuId(long skuId) {
            this.skuId = skuId;
        }

        public String getUnitName() {
            return unitName;
        }

        public void setUnitName(String unitName) {
            this.unitName = unitName;
        }

        public long getUnitId() {
            return unitId;
        }

        public void setUnitId(long unitId) {
            this.unitId = unitId;
        }

        public String getQuantity() {
            return quantity;
        }

        public void setQuantity(String quantity) {
            this.quantity = quantity;
        }

        public String getOutgoingQuantity() {
            return outgoingQuantity;
        }

        public void setOutgoingQuantity(String outgoingQuantity) {
            this.outgoingQuantity = outgoingQuantity;
        }

        public String getUnitPrice() {
            return unitPrice;
        }

        public void setUnitPrice(String unitPrice) {
            this.unitPrice = unitPrice;
        }

        public String getSubtotal() {
            return subtotal;
        }

        public void setSubtotal(String subtotal) {
            this.subtotal = subtotal;
        }
    }
}
